import java.util.Scanner;
public class Main{
    public static void main(String[] args)
    {
        Scanner input = new Scanner(System.in);
        System.out.println("获取一个字符:");
        char c = input.next().charAt(0);
        System.out.println(c);
        System.out.println("获取一个字符串:");
        String d = input.next();
        System.out.println(d);
        System.out.println("请使用整形转换的方式获取一个字符:");

        /**
         int firstnumber = input.nextInt();
         char change = (char)int;
         System.out.println(change);
         */
    }
}
